package com.tc.socket.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.security.Principal;

/**
 * @Auther: tianchao
 * @Date: 2022/4/5 23:38
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PrincipalImpl implements Principal {
    private String name;




    @Override
    public String getName() {
        return name;
    }
}
